package com.rain.shoppingscienceproj.ui.activity;

import android.os.Bundle;
import android.widget.ImageView;

import com.rain.shoppingscienceproj.R;
import com.rain.shoppingscienceproj.ui.utile.TitleUtils;
import com.rain.shoppingscienceproj.utils.AppManager;
import com.rain.shoppingscienceproj.utils.ImageUtils;

import butterknife.BindView;
import butterknife.ButterKnife;
import butterknife.OnClick;

public class ImageViewActivity extends BaseActivity {


    @OnClick(R.id.iv_image)
    void back() {
        finish();
    }

    @BindView(R.id.iv_image)
    ImageView iv_image;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_image_view);
        AppManager.getAppManager().addActivity(this);
        ButterKnife.bind(this);
        String image = getIntent().getStringExtra("type");
        TitleUtils.TitleView(this,"营业执照");
        ImageUtils.image(this, image, iv_image);
    }
}
